﻿
using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel.DataAnnotations.Schema;
namespace WinnerCMS.Model
{
    public partial class Order
    {
        public Order()
        {
            PriceChanges = new List<PriceChange>();
            BankrollLists = new List<BankrollList>(); 
            this.CheckInDate = DateTime.Now;
        }

        public int Id { get; set; }
        public string OrderNum { get; set; }
        public string UserName { get; set; }
        public decimal MoneyTotal { get; set; }
        public decimal MoneyGoods { get; set; }
        public decimal MoneyReceived { get; set; }
        /// <summary>
        /// 需要发票
        /// </summary>
        public bool NeedInvoice { get; set; }
        /// <summary>
        /// 已经开出发票
        /// </summary>
        public bool Invoiced { get; set; }
        public string Remark { get; set; }
        public string ContacterName { get; set; }
        public string Address { get; set; }
        public string ZipCode { get; set; }
        public string Mobile { get; set; }
        public string Phone { get; set; }
        public string Email { get; set; }
        public int PaymentType { get; set; }
        public int DeliverType { get; set; }
        public int Status { get; set; }
        public int DeliverStatus { get; set; }
        public int PayStatus { get; set; }
        public int PresentExp { get; set; }
        public decimal ChargeDeliver { get; set; }
        public string InvoiceContent { get; set; }
        public System.DateTime CheckInDate { get; set; }

        public virtual ICollection<PriceChange> PriceChanges { get; set; }
        public virtual ICollection<BankrollList> BankrollLists { get; set; }
    }
}